<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_id" data-rule="required" data-source="shop/index" class="form-control selectpage" name="row[shop_id]" type="text" value="{$row.shop_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="{$row.order_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ordergoods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ordergoods_id" data-rule="required" data-source="ordergoods/index" class="form-control selectpage" name="row[ordergoods_id]" type="text" value="{$row.ordergoods_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule="required" data-source="goods/index" class="form-control selectpage" name="row[goods_id]" type="text" value="{$row.goods_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goodsspec_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goodsspec_id" data-rule="required" data-source="goodsspec/index" class="form-control selectpage" name="row[goodsspec_id]" type="text" value="{$row.goodsspec_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goodsscore')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goodsraty" data-rule="required" class="form-control" name="row[goodsraty]" type="number" value="{$row.goodsraty}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Servicescore')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serviceraty" data-rule="required" class="form-control" name="row[serviceraty]" type="number" value="{$row.serviceraty}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Timescore')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-timeraty" data-rule="required" class="form-control" name="row[timeraty]" type="number" value="{$row.timeraty}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" data-rule="required" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reply')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-reply" class="form-control " rows="5" name="row[reply]" cols="50">{$row.reply}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receivimg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-receivimg" class="form-control " rows="5" name="row[receivimg]" cols="50">{$row.receivimg}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Showis')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <input  id="c-showis" name="row[showis]" type="hidden" value="{$row.showis}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-showis" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.showis" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Replytime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-replytime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[replytime]" type="text" value="{$row.replytime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
